﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Site.master" AutoEventWireup="true" CodeFile="AdminApply.aspx.cs" Inherits="admin_AdminApply" %>

<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="Server">

    <div class="am-cf am-padding">
        <div class="am-fl am-cf"><strong class="am-text-primary am-text-lg">列表</strong> / <small>ApplyManage</small></div>
    </div>

    <div class="am-g" style="margin-bottom: 16px;">
        <div class="am-u-sm-12 am-u-md-6">
            <div class="am-btn-toolbar">
                <div class="am-btn-group am-btn-group-xs">
                    <button type="button" class="am-btn am-btn-default"><span class="am-icon-plus"></span>新增</button>
                    <button type="button" class="am-btn am-btn-default"><span class="am-icon-save"></span>保存</button>
                    <button type="button" class="am-btn am-btn-default"><span class="am-icon-archive"></span>审核</button>
                    <button type="button" class="am-btn am-btn-default"><span class="am-icon-trash-o"></span>删除</button>
                </div>
            </div>
        </div>
        <div class="am-u-sm-12 am-u-md-3">
            <div class="am-form-group">
                <div class="am-u-sm-8 am-u-md-10">
                    <asp:DropDownList data-am-selected="{btnSize: 'sm'}" Style="display: none;" ID="List_ExamAllName" runat="server" OnSelectedIndexChanged="List_ExamAllName_Changed"></asp:DropDownList>
                </div>
            </div>
        </div>
        <div class="am-u-sm-12 am-u-md-3">
            <div class="am-form-group">
                <div class="am-u-sm-8 am-u-md-10">
                    <asp:DropDownList data-am-selected="{btnSize: 'sm'}" Style="display: none;" ID="List_ExamState" runat="server">
                        <asp:ListItem>未报名</asp:ListItem>
                        <asp:ListItem>报名中</asp:ListItem>
                        <asp:ListItem>已完成</asp:ListItem>
                    </asp:DropDownList>
                </div>
            </div>
        </div>
    </div>

    <div class="am-g">
        <div class="am-u-sm-12">
            <asp:GridView ID="gv" runat="server" DataKeyNames="ApplyID,ApplyState,OrderID,EmID,EmYear,EmNum" PageSize="10" AllowPaging="True" AutoGenerateColumns="false" CssClass="am-table am-table-striped am-table-hover table-main" GridLines="None">
                <Columns>
                    <asp:TemplateField HeaderText="序号">
                        <HeaderStyle Width="60px"></HeaderStyle>
                        <ItemTemplate>
                            <%# Container.DataItemIndex + 1%>
                        </ItemTemplate>
                    </asp:TemplateField>
                    <asp:BoundField DataField="ApplyID" HeaderText="报名号" />
                    <asp:BoundField DataField="EmAllName" HeaderText="考试名称" ItemStyle-Width="300px" />
                    <asp:BoundField DataField="ApplyStateCHN" HeaderText="报名状态" ItemStyle-Width="100px" />
                    <asp:BoundField DataField="ApplyCtTime" ItemStyle-Width="150px" DataFormatString="{0:yyyy-MM-dd }" HeaderText="开始报名时间" />
                    <asp:BoundField DataField="ApplyFhTime" ItemStyle-Width="150px" DataFormatString="{0:yyyy-MM-dd }" HeaderText="完成报名时间" />
                    <%--<asp:TemplateField HeaderText="操作" ItemStyle-Width="100px">
                        <ItemTemplate>
                            <div class="am-btn-toolbar">
                                <div class="am-btn-group am-btn-group-xs">
                                    <a class="am-btn am-btn-default am-btn-xs am-text-secondary" href="NewsEdit.aspx?NewsID=<%# Eval("NewsID").ToString() %>"><span class="am-icon-pencil-square-o"></span>编辑</a>
                                    <asp:LinkButton ID="btnDelete" runat="server" CommandName="Delete" OnClientClick="return confirm('确实要删除此新闻吗？');" CssClass="am-btn am-btn-default am-btn-xs am-text-danger am-hide-sm-only"><span class="am-icon-trash-o"></span>删除</asp:LinkButton>
                                    <asp:HyperLink ID="operatUrl" runat="server" CssClass="am-btn am-btn-default am-btn-xs am-text-danger am-hide-sm-only"><span class="am-icon-outdent"></span>&nbsp;继续</asp:HyperLink>
                                </div>
                            </div>
                        </ItemTemplate>
                    </asp:TemplateField>--%>
                </Columns>
                <PagerSettings Visible="False" />

            </asp:GridView>

            <hr />
            <p>注：.....</p>
        </div>
    </div>
</asp:Content>

